package com.tjetc.controller;

import com.tjetc.domain.Visit;
import com.tjetc.service.impl.VisitServiceImpl;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * (visit)表控制层
 *
 * @author xxxxx
 */
@RestController
@RequestMapping("/visit")
@CrossOrigin
public class VisitController {
    @GetMapping("visit")
    public String visit() {
        return "成功";
    }
}
